package com.zc.trendsDispatch.mapper;

import com.zc.trendsDispatch.domain.ChargeStationStrategyHistory;

import java.util.List;

/**
 * 电站调度历史Mapper接口
 *
 * @author glb
 * @date 2024-03-05
 */
public interface ChargeStationStrategyHistoryMapper
{
    /**
     * 查询电站调度历史
     *
     * @param id 电站调度历史主键
     * @return 电站调度历史
     */
    public ChargeStationStrategyHistory selectChargeStationStrategyHistoryById(Long id);

    /**
     * 查询电站调度历史列表
     *
     * @param chargeStationStrategyHistory 电站调度历史
     * @return 电站调度历史集合
     */
    List<ChargeStationStrategyHistory> selectChargeStationStrategyHistoryList(ChargeStationStrategyHistory chargeStationStrategyHistory);

    /**
     * 新增电站调度历史
     *
     * @param chargeStationStrategyHistory 电站调度历史
     * @return 结果
     */
    int insertChargeStationStrategyHistory(ChargeStationStrategyHistory chargeStationStrategyHistory);

    /**
     * 修改电站调度历史
     *
     * @param chargeStationStrategyHistory 电站调度历史
     * @return 结果
     */
    int updateChargeStationStrategyHistory(ChargeStationStrategyHistory chargeStationStrategyHistory);

    /**
     * 删除电站调度历史
     *
     * @param id 电站调度历史主键
     * @return 结果
     */
    int deleteChargeStationStrategyHistoryById(Long id);

    /**
     * 批量删除电站调度历史
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteChargeStationStrategyHistoryByIds(Long[] ids);
}
